package cn.wx.jove.core.entity;

import com.baomidou.mybatisplus.enums.IdType;

import java.util.Calendar;
import java.util.Date;
import java.util.TimeZone;

import org.springframework.format.annotation.DateTimeFormat;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import cn.wx.common.persistence.base.BaseEntity;

/**
 * <p>
 * 
 * </p>
 *
 * @author
 * @since 2018-11-29
 */
@TableName("stockdata")
public class Stockdata extends BaseEntity {

	@TableId(value = "nid", type = IdType.AUTO)
	private Integer nid;

	/**
	 * 上证指数
	 */
	private Float sseci;

	/**
	 * 上证指数涨跌
	 */
	private Float sseciud;

	/**
	 * 上证指数涨跌百分比
	 */
	private Float sseciudpercent;

	/**
	 * 上证指数成交金额
	 */
	private Float ssecturnover;

	private Float szsei;

	private Float szseiud;

	private Float szseiudpercent;

	private Float szseturnover;

	private Float gemi;

	private Float gemiud;

	private Float gemiudpercent;

	private Float gemturnover;

	private Float smei;

	private Float smeiud;

	private Float smeiudpercent;

	private Float smeturnover;

	private String Industrygains1;

	private String Industrygains2;

	private String Industrygains3;

	private String Industrygains4;

	private String Industrygains5;

	private String industrydecline1;

	private String industrydecline2;

	private String industrydecline3;

	private String industrydecline4;

	private String industrydecline5;

	private Integer astockupcount;

	private Integer astockequalcount;

	private Integer astockdowncount;

	private Integer gemupcount;

	private Integer gemequalcount;

	private Integer gemdowncount;

	private Integer limitupcount;

	private Integer limitdowncount;

	/*@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")*/
	private Date currenttime;
	
	private String hangzhouwanzs;
	
	private String hangzhouwanturnover;
	
	private String hangzhouwanpercent;

	public Integer getNid() {
		return nid;
	}

	public void setNid(Integer nid) {
		this.nid = nid;
	}

	public Float getSseci() {
		return sseci;
	}

	public void setSseci(Float sseci) {
		this.sseci = sseci;
	}

	public Float getSseciud() {
		return sseciud;
	}

	public void setSseciud(Float sseciud) {
		this.sseciud = sseciud;
	}

	public Float getSseciudpercent() {
		return sseciudpercent;
	}

	public void setSseciudpercent(Float sseciudpercent) {
		this.sseciudpercent = sseciudpercent;
	}

	public Float getSsecturnover() {
		return ssecturnover;
	}

	public void setSsecturnover(Float ssecturnover) {
		this.ssecturnover = ssecturnover;
	}

	public Float getSzsei() {
		return szsei;
	}

	public void setSzsei(Float szsei) {
		this.szsei = szsei;
	}

	public Float getSzseiud() {
		return szseiud;
	}

	public void setSzseiud(Float szseiud) {
		this.szseiud = szseiud;
	}

	public Float getSzseiudpercent() {
		return szseiudpercent;
	}

	public void setSzseiudpercent(Float szseiudpercent) {
		this.szseiudpercent = szseiudpercent;
	}

	public Float getSzseturnover() {
		return szseturnover;
	}

	public void setSzseturnover(Float szseturnover) {
		this.szseturnover = szseturnover;
	}

	public Float getGemi() {
		return gemi;
	}

	public void setGemi(Float gemi) {
		this.gemi = gemi;
	}

	public Float getGemiud() {
		return gemiud;
	}

	public void setGemiud(Float gemiud) {
		this.gemiud = gemiud;
	}

	public Float getGemiudpercent() {
		return gemiudpercent;
	}

	public void setGemiudpercent(Float gemiudpercent) {
		this.gemiudpercent = gemiudpercent;
	}

	public Float getGemturnover() {
		return gemturnover;
	}

	public void setGemturnover(Float gemturnover) {
		this.gemturnover = gemturnover;
	}

	public Float getSmei() {
		return smei;
	}

	public void setSmei(Float smei) {
		this.smei = smei;
	}

	public Float getSmeiud() {
		return smeiud;
	}

	public void setSmeiud(Float smeiud) {
		this.smeiud = smeiud;
	}

	public Float getSmeiudpercent() {
		return smeiudpercent;
	}

	public void setSmeiudpercent(Float smeiudpercent) {
		this.smeiudpercent = smeiudpercent;
	}

	public Float getSmeturnover() {
		return smeturnover;
	}

	public void setSmeturnover(Float smeturnover) {
		this.smeturnover = smeturnover;
	}

	public String getIndustrygains1() {
		return Industrygains1;
	}

	public void setIndustrygains1(String Industrygains1) {
		this.Industrygains1 = Industrygains1;
	}

	public String getIndustrygains2() {
		return Industrygains2;
	}

	public void setIndustrygains2(String Industrygains2) {
		this.Industrygains2 = Industrygains2;
	}

	public String getIndustrygains3() {
		return Industrygains3;
	}

	public void setIndustrygains3(String Industrygains3) {
		this.Industrygains3 = Industrygains3;
	}

	public String getIndustrygains4() {
		return Industrygains4;
	}

	public void setIndustrygains4(String Industrygains4) {
		this.Industrygains4 = Industrygains4;
	}

	public String getIndustrygains5() {
		return Industrygains5;
	}

	public void setIndustrygains5(String Industrygains5) {
		this.Industrygains5 = Industrygains5;
	}

	public String getIndustrydecline1() {
		return industrydecline1;
	}

	public void setIndustrydecline1(String industrydecline1) {
		this.industrydecline1 = industrydecline1;
	}

	public String getIndustrydecline2() {
		return industrydecline2;
	}

	public void setIndustrydecline2(String industrydecline2) {
		this.industrydecline2 = industrydecline2;
	}

	public String getIndustrydecline3() {
		return industrydecline3;
	}

	public void setIndustrydecline3(String industrydecline3) {
		this.industrydecline3 = industrydecline3;
	}

	public String getIndustrydecline4() {
		return industrydecline4;
	}

	public void setIndustrydecline4(String industrydecline4) {
		this.industrydecline4 = industrydecline4;
	}

	public String getIndustrydecline5() {
		return industrydecline5;
	}

	public void setIndustrydecline5(String industrydecline5) {
		this.industrydecline5 = industrydecline5;
	}

	public Integer getAstockupcount() {
		return astockupcount;
	}

	public void setAstockupcount(Integer astockupcount) {
		this.astockupcount = astockupcount;
	}

	public Integer getAstockequalcount() {
		return astockequalcount;
	}

	public void setAstockequalcount(Integer astockequalcount) {
		this.astockequalcount = astockequalcount;
	}

	public Integer getAstockdowncount() {
		return astockdowncount;
	}

	public void setAstockdowncount(Integer astockdowncount) {
		this.astockdowncount = astockdowncount;
	}

	public Integer getGemupcount() {
		return gemupcount;
	}

	public void setGemupcount(Integer gemupcount) {
		this.gemupcount = gemupcount;
	}

	public Integer getGemequalcount() {
		return gemequalcount;
	}

	public void setGemequalcount(Integer gemequalcount) {
		this.gemequalcount = gemequalcount;
	}

	public Integer getGemdowncount() {
		return gemdowncount;
	}

	public void setGemdowncount(Integer gemdowncount) {
		this.gemdowncount = gemdowncount;
	}

	public Integer getLimitupcount() {
		return limitupcount;
	}

	public void setLimitupcount(Integer limitupcount) {
		this.limitupcount = limitupcount;
	}

	public Integer getLimitdowncount() {
		return limitdowncount;
	}

	public void setLimitdowncount(Integer limitdowncount) {
		this.limitdowncount = limitdowncount;
	}

	public Date getCurrenttime() {
		Calendar c = Calendar.getInstance(TimeZone.getTimeZone("GMT+8"));  
        c.setTime(currenttime);  
		return c.getTime();
	}

	public void setCurrenttime(Date currenttime) {
		this.currenttime = currenttime;
	}

	public String getHangzhouwanzs() {
		return hangzhouwanzs;
	}

	public void setHangzhouwanzs(String hangzhouwanzs) {
		this.hangzhouwanzs = hangzhouwanzs;
	}

	public String getHangzhouwanturnover() {
		return hangzhouwanturnover;
	}

	public void setHangzhouwanturnover(String hangzhouwanturnover) {
		this.hangzhouwanturnover = hangzhouwanturnover;
	}

	public String getHangzhouwanpercent() {
		return hangzhouwanpercent;
	}

	public void setHangzhouwanpercent(String hangzhouwanpercent) {
		this.hangzhouwanpercent = hangzhouwanpercent;
	}

	@Override
	public String toString() {
		return "Stockdata{" + ", nid=" + nid + ", sseci=" + sseci + ", sseciud=" + sseciud + ", sseciudpercent="
				+ sseciudpercent + ", ssecturnover=" + ssecturnover + ", szsei=" + szsei + ", szseiud=" + szseiud
				+ ", szseiudpercent=" + szseiudpercent + ", szseturnover=" + szseturnover + ", gemi=" + gemi
				+ ", gemiud=" + gemiud + ", gemiudpercent=" + gemiudpercent + ", gemturnover=" + gemturnover + ", smei="
				+ smei + ", smeiud=" + smeiud + ", smeiudpercent=" + smeiudpercent + ", smeturnover=" + smeturnover
				+ ", Industrygains1=" + Industrygains1 + ", Industrygains2=" + Industrygains2 + ", Industrygains3="
				+ Industrygains3 + ", Industrygains4=" + Industrygains4 + ", Industrygains5=" + Industrygains5
				+ ", industrydecline1=" + industrydecline1 + ", industrydecline2=" + industrydecline2
				+ ", industrydecline3=" + industrydecline3 + ", industrydecline4=" + industrydecline4
				+ ", industrydecline5=" + industrydecline5 + ", astockupcount=" + astockupcount + ", astockequalcount="
				+ astockequalcount + ", astockdowncount=" + astockdowncount + ", gemupcount=" + gemupcount
				+ ", gemequalcount=" + gemequalcount + ", gemdowncount=" + gemdowncount + ", limitupcount="
				+ limitupcount + ", limitdowncount=" + limitdowncount + ", currenttime=" + currenttime + "}";
	}
}
